//* container_type bimaps::set_of
#include <boost/bimap.hpp>
#include <iostream>
#include <string>
 
int main()
{
    typedef boost::bimap<boost::bimaps::set_of<std::string>, 
        boost::bimaps::set_of<int> > bimap; //*default container type
    bimap persons;
 
    persons.insert(bimap::value_type("Euler",20));
    persons.insert(bimap::value_type("Gauss",21)); 
    persons.insert(bimap::value_type("Poincare",22));
 
    std::cout << persons.left.count("Poincare") << std::endl;
    std::cout << persons.right.count(22) << std::endl;
}